/*
 *  Property Mapper, simple automatic GUI generator for JavaBeans using annotations.
 *  Copyright (C) 2008 Jon Lennersten, Johan Hedin
 *
 *  This file is part of Property Mapper.
 *
 *  Property Mapper is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Property Mapper is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with Property Mapper.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.mawell.common.propertymapper;

/**
 * @version $Revision: 1.2 $
 * @see @FixedKeys
 * @see @FixedValues
 */
public class KeyAndValues {

    private Object keyOrValue;

    private String description;

    /**
     * Gets the key or value
     *
     * @return The key or value
     */
    public Object getKeyOrValue() {
        return keyOrValue;
    }

    /**
     * Set the key or value
     *
     * @param keyOrValue The key or value
     */
    public void setKeyOrValue(Object keyOrValue) {
        this.keyOrValue = keyOrValue;
    }

    /**
     * Get the description to be shown in the GUI
     *
     * @return The description to be shown in the GUI
     */
    public String getDescription() {
        return description;
    }

    /**
     * Set the description to be shown in the GUI
     *
     * @param description The description to be shown in the GUI
     */
    public void setDescription(String description) {
        this.description = description;
    }
}